package com.erp.erp_entitys.ProductPriceRange;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ProductPriceRange {
    private Integer id;

    private String productCode;

    private String specificationCode;

    private String supplyName;

    private String supplyCode;

    private BigDecimal minNum;

    private BigDecimal maxNum;

    private BigDecimal taxIncludedFactory;

    private BigDecimal unTaxIncludedFactory;

    private BigDecimal taxIncludedFob;

    private BigDecimal unTaxIncludedFob;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode == null ? null : specificationCode.trim();
    }

    public String getSupplyName() {
        return supplyName;
    }

    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName == null ? null : supplyName.trim();
    }

    public String getSupplyCode() {
        return supplyCode;
    }

    public void setSupplyCode(String supplyCode) {
        this.supplyCode = supplyCode == null ? null : supplyCode.trim();
    }

    public BigDecimal getMinNum() {
        return minNum;
    }

    public void setMinNum(BigDecimal minNum) {
        this.minNum = minNum;
    }

    public BigDecimal getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(BigDecimal maxNum) {
        this.maxNum = maxNum;
    }

    public BigDecimal getTaxIncludedFactory() {
        return taxIncludedFactory;
    }

    public void setTaxIncludedFactory(BigDecimal taxIncludedFactory) {
        this.taxIncludedFactory = taxIncludedFactory;
    }

    public BigDecimal getUnTaxIncludedFactory() {
        return unTaxIncludedFactory;
    }

    public void setUnTaxIncludedFactory(BigDecimal unTaxIncludedFactory) {
        this.unTaxIncludedFactory = unTaxIncludedFactory;
    }

    public BigDecimal getTaxIncludedFob() {
        return taxIncludedFob;
    }

    public void setTaxIncludedFob(BigDecimal taxIncludedFob) {
        this.taxIncludedFob = taxIncludedFob;
    }

    public BigDecimal getUnTaxIncludedFob() {
        return unTaxIncludedFob;
    }

    public void setUnTaxIncludedFob(BigDecimal unTaxIncludedFob) {
        this.unTaxIncludedFob = unTaxIncludedFob;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}